add_entrypoint_object(
  dlclose
  SRCS
    dlclose.cpp
  HDRS
    dlclose.h
)

add_entrypoint_object(
  dlerror
  SRCS
    dlerror.cpp
  HDRS
    dlerror.h
  DEPENDS
    libc.include.dlfcn
    libc.src.errno.errno
)

add_entrypoint_object(
  dlopen
  SRCS
    dlopen.cpp
  HDRS
    dlopen.h
  DEPENDS
    libc.include.dlfcn
    libc.src.errno.errno
)

add_entrypoint_object(
  dlsym
  SRCS
    dlsym.cpp
  HDRS
    dlsym.h
  DEPENDS
    libc.include.dlfcn
    libc.src.errno.errno
)
